/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.rainbowsheep.reisorg.rest.service.controller.exception;

/**
 *
 * @author ieme
 */

public class UsernameExistsException extends RuntimeException {

    public UsernameExistsException() {
        super("{\"reason\": \"Username already exists\"}");
    }

    public UsernameExistsException(String username) {
        super("{\"reason\": \"Username " + username + " already exists\"}");
    }
}
